package numbers;

public class NumberGenerator implements INumberGenerator {

	private int number = 0;

	public int nextNumber() {
		return number++;
	}

	public void setNextNumber(int value) {
		number = value;
	}

}
